package com.coolgame.action.base;

import net.sf.json.JSONObject;

/**
 *  
 * @copyright : (C) Copyright jingjie Corporation 2011-2020
 * @date:2013-7-19
 * @author:Caiyw
 * @since JDK1.6
 * @description:TODO
 */
public class JsonUtil {
	public static String Object2Json(
	        Object responseObject) {  
	    //将实体对象转换为JSON Object转换  
	    JSONObject responseJSONObject = JSONObject.fromObject(responseObject);  
	    return responseJSONObject.toString();
	}  
}

